﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;

namespace OntoWPFSilverlight.Xml
{
    public class WidgetLocation
    {
        [XmlNodeTypeAttribute(XmlNodeType.Attribute)]
        public int X { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Attribute)]
        public int Y { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Attribute)]
        public String Dock { get; set; }
        [XmlNodeTypeAttribute(XmlNodeType.Attribute)]
        public String Anchor { get; set; }

        public WidgetLocation() 
        {
 
        }

        public WidgetLocation(int x, int y, String dock, String anchor)
        {
            X = x;
            Y = y;
            Dock = dock;
            Anchor = anchor;
        }
    }
}
